.counter {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: azure;
}

.cocos-game {
    width: 100%;
    height: 100%;
}